package course_hashMap;

public class animal {
    private String name;
    private String postion;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPostion() {
        return postion;
    }

    public void setPostion(String postion) {
        this.postion = postion;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public void setAll(String name,int age,String postion){
        this.name=name;
        this.age=age;
        this.postion=postion;
    }
}
